package com.itany.corejava.code10_异常.zuoye;

import java.util.ArrayList;
import java.util.List;

/**
 * @author MissChen
 * @version 1.0
 * @date 2023 年11月24日 10:09
 */
public class Test2 {
    public static void main(String[] args) {
        List<User> users=new ArrayList<>();
        users.add(new User(1,"aa","12","12345678987","南京"));
        users.add(new User(2,"bb","12","12345678987","上海"));
        users.add(new User(3,"cc","12333","12345678987","南京"));
        users.set(1,new User(5,"aaaaa","2222","111111111111","三生三世"));
        System.out.println(users);





    }
}
